From: Lukáš Tyrychtr Date: Tue, 24 Sep 2024 10:08:47 +0000 (+0200) Subject: quick-toggle: Make the subtitle the a11y description of the toggle X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~194^2^2~21 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=0fb854b08c2d45faf32b37efaad7a897fbeedada;p=gnome-shell.git quick-toggle: Make the subtitle the a11y description of the toggle By doing that, more info is read by default, like the connected bluetooth device and likely more. Part-of: (cherry picked from commit 9fc53967428f39758b59740ae4aa558e11234f35) --- diff --git a/js/ui/quickSettings.js b/js/ui/quickSettings.js index 344732e3f..ab282910e 100644 --- a/js/ui/quickSettings.js +++ b/js/ui/quickSettings.js @@ -104,6 +104,7 @@ export const QuickToggle = GObject.registerClass({ x_align: Clutter.ActorAlign.START, x_expand: true, }); + this.get_accessible().add_relationship(Atk.RelationType.DESCRIBED_BY, this._subtitle.get_accessible()); const titleBox = new St.BoxLayout({ y_align: Clutter.ActorAlign.CENTER,